<p>
    这里是index
    <%= params.content %>
</p>
<!--纯静态调用-->
<%=require('./slide.html')%>
<script>
  try {
    window.localStorage;
  } catch (exception) {
    alert("Exception!");
  }
  window.sessionStorage.setItem("index", "2")
  console.log(window.document.body);
  console.log(window.sessionStorage);
  console.log(window.localStorage);
</script>

<iframe src="http://localhost:8080/page1.html"
        ></iframe>
<img src="${require('assetDir/login-bg.jpg')}">
<!--动态nav-->
<%= params.nav %>